use ferris_says::say;
use std::io::{stdout, BufWriter};

fn main() {
    let std = stdout();
    let msg = String::from("hello rust");
    let len = msg.chars().count();
    let mut writer = BufWriter::new(std.lock());
    say(&msg, len, &mut writer).unwrap();
}
